<?php

namespace app\common\model\knowbase;

use app\admin\model\Admin;
use think\Model;


class ProjectPageHistory extends Model
{

    

    

   
    protected $name = 'knowbase_project_page_history';
    
   
    protected $autoWriteTimestamp = 'integer';

   
    protected $createTime = 'createtime';
    protected $updateTime = false;
    protected $deleteTime = false;

   
    protected $append = [

    ];



    public function admin()
    {
        return $this->belongsTo(Admin::class, 'admin_id')->setEagerlyType(0);
    }

    public function project()
    {
        return $this->belongsTo(Project::class, 'knowbase_project_id')->setEagerlyType(0);
    }

    public function projectPage()
    {
        return $this->belongsTo(ProjectPage::class, 'knowbase_project_page_id')->setEagerlyType(0);
    }


}
